<template>
  <div class="head">
    <div class="head-left">
      <van-icon class-prefix="icon" size="22" name="sousuo" @click="$router.push('/searchPage')"></van-icon>
    </div>
    <div class="head-right">
      <img src="@assets/images/logo.png" alt />
    </div>
    <div class="fenlei">
      <van-icon name="apps-o" size="24" @click="$router.push('/cates')" />
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.head {
  box-sizing: border-box;
  height: 50px;
  display: flex;
  align-items: center;
  line-height: 50px;
  padding: 0 15px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #fff;
  &-right {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    width: 100%;
    img {
      width: 75px;
      height: 31px;
    }
  }
  .fenlei {
    line-height: 0;
  }
}
</style>
